﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserView.master" AutoEventWireup="true"
    CodeBehind="EditProfile.aspx.cs" Inherits="BestBuy.PageUser.EditProfile" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style4
        {
            width: 295px;
        }
        
        .style5
        {
            font-size: x-small;
        }
        
        .style6
        {
            width: 295px;
            height: 22px;
        }
        
        .style7
        {
            height: 22px;
        }
        
        .auto-style1
        {
            width: 233px;
        }
        
        .auto-style2
        {
            width: 233px;
            height: 22px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <asp:Panel ID="Panel5" runat="server" CssClass="left-side-bar bs-docs-sidebar">
        <ul class="nav nav-list bs-docs-sidenav">
            <li class="active" style="text-align: center;"><a runat="server" href="~/PageUser/EditProfile.aspx">
                Account Settings</a></li>
            <li><a id="A14" runat="server" href="~/PageUser/EditProfile.aspx"><i class="icon-chevron-right">
            </i>Edit Profile</a></li>
            <li><a id="A15" runat="server" href="~/PageUser/PageChangePass.aspx"><i class="icon-chevron-right">
            </i>Change Password</a></li>
        </ul>
    </asp:Panel>
    <div class="main-content">
        <table class="page">
            <tr>
                <td colspan="3" class="td_center">
                    <h1 class="td_center">
                        <asp:Label ID="Label1" CssClass="td_center" runat="server" Text="Account Detail"></asp:Label>
                    </h1>
                </td>
            </tr>
            <tr>
                <td colspan="3" class="td_center">
                    &nbsp;<td>
                        <asp:Panel ID="pnThongBao" runat="server">
                            <asp:Label ID="lbThongBao" runat="server"></asp:Label>
                        </asp:Panel>
                        <div>
                            <asp:ValidationSummary ID="vsAdd" CssClass="InLeft error message" runat="Server" />
                        </div>
            </tr>
            <tr>
                <td class="auto-style1">
                    * Name: <span class="style5"></span>
                </td>
                <td>
                    <asp:TextBox ID="txtFirst" runat="server" Height="16px" Width="229px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    * Gender:
                </td>
                <td>
                    <asp:RadioButtonList ID="rbtGender" runat="server" CssClass="radiobutton" RepeatDirection="Horizontal"
                        Width="150px">
                        <asp:ListItem Value="false">Mr.</asp:ListItem>
                        <asp:ListItem Value="true">Ms.</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    * Business Email:
                </td>
                <td>
                    <asp:TextBox ID="txtMail" runat="server" Width="254px"></asp:TextBox>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="auto-style2">
                    * Country:
                </td>
                <td class="style7">
                    <asp:DropDownList ID="cbbCountry" runat="server" Width="146px" DataSourceID="LinqDSNuoc"
                        DataTextField="TenQuocGia" DataValueField="IDQuocGia">
                    </asp:DropDownList>
                    <ajaxToolkit:ListSearchExtender ID="lseCountry" PromptCssClass="ListSearchExtender"
                        runat="server" QueryTimeout="0" PromptPosition="Top" TargetControlID="cbbCountry">
                    </ajaxToolkit:ListSearchExtender>
                    <asp:LinqDataSource ID="LinqDSNuoc" runat="server" ContextTypeName="BestBuy.TradeKeyDataContext"
                        EntityTypeName="" OrderBy="TenQuocGia" Select="new (IDQuocGia, TenQuocGia)" TableName="QuocGias"
                        Where="TinhTrang == @TinhTrang">
                        <WhereParameters>
                            <asp:Parameter DefaultValue="true" Name="TinhTrang" Type="Boolean" />
                        </WhereParameters>
                    </asp:LinqDataSource>
                </td>
                <td class="style7">
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    * Business Adress:
                </td>
                <td class="style5">
                    Street&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    City&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    State/Province<br />
                    <asp:TextBox ID="txtStreet" runat="server"></asp:TextBox>
                    &nbsp;&nbsp;&nbsp;
                    <asp:TextBox ID="txtCity" runat="server"></asp:TextBox>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:TextBox ID="txtProvince" runat="server"></asp:TextBox>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    * Business Phone:
                </td>
                <td>
                    <asp:TextBox ID="txtPhone" runat="server" Width="172px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    * Job Title:
                </td>
                <td>
                    <asp:DropDownList ID="ddlJob" runat="server" Width="146px" DataSourceID="LinqDSCongViec"
                        DataTextField="TenCongViec" DataValueField="IDCongViec">
                    </asp:DropDownList>
                    <ajaxToolkit:ListSearchExtender ID="lseJob" PromptCssClass="ListSearchExtender" runat="server"
                        QueryTimeout="0" PromptPosition="Top" TargetControlID="ddlJob">
                    </ajaxToolkit:ListSearchExtender>
                    <asp:LinqDataSource ID="LinqDSCongViec" runat="server" ContextTypeName="BestBuy.TradeKeyDataContext"
                        EntityTypeName="" OrderBy="TenCongViec" Select="new (IDCongViec, TenCongViec)"
                        TableName="CongViecs" Where="TinhTrang == @TinhTrang">
                        <WhereParameters>
                            <asp:Parameter DefaultValue="true" Name="TinhTrang" Type="Boolean" />
                        </WhereParameters>
                    </asp:LinqDataSource>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    * I am a:
                </td>
                <td>
                    <asp:RadioButtonList ID="rblType" runat="server" CssClass="radiobutton" RepeatDirection="Horizontal"
                        Width="150px">
                        <asp:ListItem Value="1">Buyer</asp:ListItem>
                        <asp:ListItem Value="2">Seller</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    Buying Products:
                </td>
                <td>
                    <asp:TextBox ID="txtBProduct" runat="server" Width="172px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    Selling Products:
                </td>
                <td>
                    <asp:TextBox ID="txtSProduct" runat="server" Width="172px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    Yahoo:
                </td>
                <td>
                    <asp:TextBox ID="txtYahoo" runat="server" Width="172px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    Skype:
                </td>
                <td>
                    <asp:TextBox ID="txtSkype" runat="server" Width="172px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    Receive invition from Tradekey.com on Instant Messenger ID()
                </td>
                <td>
                    <asp:RadioButtonList ID="rblRec" runat="server" CssClass="radiobutton" RepeatDirection="Horizontal"
                        Width="150px">
                        <asp:ListItem Value="true">Enable</asp:ListItem>
                        <asp:ListItem Value="false">Disable</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    &nbsp;
                </td>
                <td>
                    <asp:Button ID="btnUpdate" runat="server" Text="Update" class="style_button" OnClick="btnUpdate_Click" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
